<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Functions: update actions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions: update actions</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Convenience functions for <a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaceff5f0fc4124e24ba30d4fccb170123"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#gaceff5f0fc4124e24ba30d4fccb170123">update_action_label</a> (const char *name, const char *label)</td></tr>
<tr class="memdesc:gaceff5f0fc4124e24ba30d4fccb170123"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's label (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#gaceff5f0fc4124e24ba30d4fccb170123">More...</a><br /></td></tr>
<tr class="separator:gaceff5f0fc4124e24ba30d4fccb170123"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga024d67540af40abe540f7540809ca743"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga024d67540af40abe540f7540809ca743">update_action_shortcut</a> (const char *name, const char *shortcut)</td></tr>
<tr class="memdesc:ga024d67540af40abe540f7540809ca743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's shortcut (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga024d67540af40abe540f7540809ca743">More...</a><br /></td></tr>
<tr class="separator:ga024d67540af40abe540f7540809ca743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89c92cc9f9e50c88a22b054d713a1a17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga89c92cc9f9e50c88a22b054d713a1a17">update_action_tooltip</a> (const char *name, const char *tooltip)</td></tr>
<tr class="memdesc:ga89c92cc9f9e50c88a22b054d713a1a17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's tooltip (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga89c92cc9f9e50c88a22b054d713a1a17">More...</a><br /></td></tr>
<tr class="separator:ga89c92cc9f9e50c88a22b054d713a1a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e8cddfeef193389f1ac689ac439cc77"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga1e8cddfeef193389f1ac689ac439cc77">update_action_icon</a> (const char *name, int icon)</td></tr>
<tr class="memdesc:ga1e8cddfeef193389f1ac689ac439cc77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's icon (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga1e8cddfeef193389f1ac689ac439cc77">More...</a><br /></td></tr>
<tr class="separator:ga1e8cddfeef193389f1ac689ac439cc77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69d4738692d65fa6dd4a5e0883a6b3b2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga69d4738692d65fa6dd4a5e0883a6b3b2">update_action_state</a> (const char *name, <a class="el" href="kernwin_8hpp.html#ac55f790129202f8c4cea693fe570ead6">action_state_t</a> state)</td></tr>
<tr class="memdesc:ga69d4738692d65fa6dd4a5e0883a6b3b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's state (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga69d4738692d65fa6dd4a5e0883a6b3b2">More...</a><br /></td></tr>
<tr class="separator:ga69d4738692d65fa6dd4a5e0883a6b3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3f83cd5de26cfec3e6a0e34807c09d1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#gaa3f83cd5de26cfec3e6a0e34807c09d1">update_action_checkable</a> (const char *name, bool checkable)</td></tr>
<tr class="memdesc:gaa3f83cd5de26cfec3e6a0e34807c09d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's checkability (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#gaa3f83cd5de26cfec3e6a0e34807c09d1">More...</a><br /></td></tr>
<tr class="separator:gaa3f83cd5de26cfec3e6a0e34807c09d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e0065e63d3fe107eba7a9b5d0ff57d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga8e0065e63d3fe107eba7a9b5d0ff57d4">update_action_checked</a> (const char *name, bool checked)</td></tr>
<tr class="memdesc:ga8e0065e63d3fe107eba7a9b5d0ff57d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's checked state (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga8e0065e63d3fe107eba7a9b5d0ff57d4">More...</a><br /></td></tr>
<tr class="separator:ga8e0065e63d3fe107eba7a9b5d0ff57d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga443e6593a319ad8244daec0961740543"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ui__uaa__funcs.html#ga443e6593a319ad8244daec0961740543">update_action_visibility</a> (const char *name, bool visible)</td></tr>
<tr class="memdesc:ga443e6593a319ad8244daec0961740543"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an action's visibility (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>).  <a href="#ga443e6593a319ad8244daec0961740543">More...</a><br /></td></tr>
<tr class="separator:ga443e6593a319ad8244daec0961740543"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaceff5f0fc4124e24ba30d4fccb170123"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_label </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>label</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's label (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">label</td><td>new label </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga024d67540af40abe540f7540809ca743"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_shortcut </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>shortcut</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's shortcut (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">shortcut</td><td>new shortcut </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga89c92cc9f9e50c88a22b054d713a1a17"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_tooltip </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>tooltip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's tooltip (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">tooltip</td><td>new tooltip </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga1e8cddfeef193389f1ac689ac439cc77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_icon </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's icon (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">icon</td><td>new icon id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga69d4738692d65fa6dd4a5e0883a6b3b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_state </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="kernwin_8hpp.html#ac55f790129202f8c4cea693fe570ead6">action_state_t</a>&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's state (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">state</td><td>new state </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="gaa3f83cd5de26cfec3e6a0e34807c09d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_checkable </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>checkable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's checkability (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">checkable</td><td>new checkability </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga8e0065e63d3fe107eba7a9b5d0ff57d4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_checked </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>checked</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's checked state (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">checked</td><td>new checked state </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga443e6593a319ad8244daec0961740543"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool update_action_visibility </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update an action's visibility (<a class="el" href="kernwin_8hpp.html#a4a23e389ff9cbf1cd31179ca2f393334a9e18029a1d55951baacce0a745dcf91e" title="ui: see Functions: update actions ">ui_update_action_attr</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>action name </td></tr>
    <tr><td class="paramname">visible</td><td>new visibility </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
